<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8">
<title>Selection Variable Expressions</title>
</head>
<body>
<div th:object="${employee}">
    <p>Id: <span th:text="*{id}">1</span></p>
    <p>Name: <span th:text="*{name}">Pepper</span></p>
    <p>Salary: <span th:text="*{salary}">1.00</span></p>
</div>
</body>
</html>